package com.qk.management.service;

import com.qk.common.PageResult;
import com.qk.dto.activity.ActivityDTO;
import com.qk.entity.Activity;

import java.util.List;

/**
 *
 * @author sch
 * @version 1.0
 * @since 2025-10-09-14:49
 */
public interface ActivityService {

    PageResult<Activity> listActivity(ActivityDTO activityDTO);

    void deleteActivity(Integer id);

    void addActivity(Activity activity);

    Activity getActivityById(Integer id);

    // 新增：修改活动
    void updateActivity(Activity activity);

    List<Activity> listActivitiesByType(Integer type);
}
